package org.de.maeyer.unit;

/**
 * @author Peter De Maeyer
 */
public class NamedMultiplyingUnit extends MultiplyingUnit {

	private final String name;

	private final String symbol;

	public NamedMultiplyingUnit(String name, String symbol, double multiplier, Unit multipliedUnit) {
		super(multiplier, multipliedUnit);
		this.name = name;
		this.symbol = symbol;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public String getSymbol() {
		return symbol;
	}
}
